﻿using System;
using System.Collections.Generic;
using Labthink.PCSoft.UniversalHost4.Model;

namespace Labthink.PCSoft.UniversalHost4.SampleData
{
    public class SampleOperationLogs
    {
        public List<OperateLog> Logs { get; set; }

        public SampleOperationLogs()
        {
            var id = 1;
            Logs = new List<OperateLog>
            {
                new OperateLog
                {
                    Id = id++,
                    LoginName = "李四",
                    Content = "登录",
                    LogTime = new DateTime(2017, 8, 5, 23, 4, 5),
                    OpType = "a"
                },
                
                new OperateLog
                {
                    Id = id++,
                    LoginName = "zhangsan",
                    Content = "登录",
                    LogTime = new DateTime(2017, 8, 5, 23, 4, 5),
                    OpType = "a"
                },

                new OperateLog
                {
                    Id = id++,
                    LoginName = "张三",
                    Content = "登录",
                    LogTime = new DateTime(2017, 8, 5, 23, 4, 5),
                    OpType = "a"
                },

                new OperateLog
                {
                    Id = id++,
                    LoginName = "王武",
                    Content = "登录",
                    LogTime = new DateTime(2017, 8, 5, 23, 4, 5),
                    OpType = "a"
                },

                new OperateLog
                {
                    Id = id++,
                    LoginName = "zhangsan",
                    Content = "登录",
                    LogTime = new DateTime(2017, 8, 5, 23, 4, 5),
                    OpType = "a"
                },
                
                new OperateLog
                {
                    Id = id++,
                    LoginName = "zhangsan",
                    Content = "登录",
                    LogTime = new DateTime(2017, 8, 5, 23, 4, 5),
                    OpType = "a"
                },
                
                new OperateLog
                {
                    Id = id++,
                    LoginName = "zhangsan",
                    Content = "登录登录 登录登录登录登 admin录登录登录登录登录登录登录登录登录登录登录登录登录登录登录登录登录登录登录登录",
                    LogTime = new DateTime(2017, 8, 5, 23, 4, 5),
                    OpType = "a"
                },

                new OperateLog
                {
                    Id = id++,
                    LoginName = "zhangsan",
                    Content = "登录",
                    LogTime = new DateTime(2017, 8, 5, 23, 4, 5),
                    OpType = "a"
                },

                new OperateLog
                {
                    Id = id++,
                    LoginName = "zhangsan",
                    Content = "登录",
                    LogTime = new DateTime(2017, 8, 5, 23, 4, 5),
                    OpType = "a"
                },

                new OperateLog
                {
                    Id = id++,
                    LoginName = "zhangsan",
                    Content = "登录",
                    LogTime = new DateTime(2017, 8, 5, 23, 4, 5),
                    OpType = "a"
                },
            };
        }
    }
}
